package com.yundou.www.wrpc.core.net;

/**
 * @author wangweiwei
 * @since 2021/7/20
 */
public class WRpcRequest {

    /**
     * 版本信息
     */
    private Integer version;

    /**
     * 接口名称
     */
    private String interfaceName;

    /**
     * 方法名称
     */
    private String methodName;

    /**
     * 参数
     */
    private Object[] params;

    /**
     * 是否是心跳检测
     */
    private Integer checkSession;

    /**
     *
     */
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Object[] getParams() {
        return params;
    }

    public void setParams(Object[] params) {
        this.params = params;
    }

    public Integer getCheckSession() {
        return checkSession;
    }

    public void setCheckSession(Integer checkSession) {
        this.checkSession = checkSession;
    }
}
